package com.vii.streamline.test.web;

import com.vii.streamline.annotation.P;

import java.util.List;

/**
 * Web test class
 */
public class RemoteService {

    public static void hello( @P( name = "message") String message){
        System.out.println(" !!!!!!!!!!!!!!!!!! Message: " + message);
    }

    public static void sziasztok( @P( name = "messages") String[] messages){
        for( String message : messages )
            System.out.println(" !!!!!!!!!!!!!!!!!! Message: " + message);
    }

    public static void collect( @P( name = "data", collectedType = Data.class) List<Data> data){
        for( Data d : data )
            System.out.println(" !!!!!!!!!!!!!!!!!! Data: " + d);
    }

}
